@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/works/works_edit.js"]}){
<form id="worksForm" lay-filter="worksForm" class="layui-form model-form">
    <input name="id" type="hidden"/>
    <input name="activityId" id="activityId" type="hidden"/>

    <div class="layui-col-lg12">
        <div class="layui-form-item">
            <label class="layui-form-label">图片</label>
            <div class="layui-input-block" id="pic_big">

            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户名称<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="userName" name="userName" placeholder="请输入用户名称" type="text" class="layui-input" disabled/>
        </div>
    </div>
   <!-- <div class="layui-form-item">
        <label class="layui-form-label">用户头像<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="headPic" name="headPic" placeholder="请输入用户头像" type="text" class="layui-input" disabled/>
        </div>
    </div>-->
    <div class="layui-form-item">
        <label class="layui-form-label">内容<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <textarea id="text" name="text"  class="layui-textarea" readonly ></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">活动标题<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="activityTitle" name="activityTitle" type="text" class="layui-input"disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">作品类型<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="projectTypeName" name="projectTypeName" placeholder="请输入类型" type="text" class="layui-input" disabled/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">浏览量</label>
        <div class="layui-input-block">
            <input id="watch" name="watch" placeholder="请输入浏览量" type="text" class="layui-input" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">点赞数</label>
        <div class="layui-input-block">
            <input id="praise" name="praise" placeholder="请输入点赞数" type="text" class="layui-input" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">评论数</label>
        <div class="layui-input-block">
            <input id="commentCount" name="commentCount" placeholder="0" type="text" class="layui-input" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">标识<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <select name="mark"  id="mark">
                <option value="">无</option>
                <option value="1">置顶</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <select name="status"  id="status"
                @if(!shiro.isAdmin()){
                    disabled
                    @}
            >
                <option value="">全部</option>
                <option value="1">待审核</option>
                <option value="2">通过</option>
                <option value="3">拒绝</option>
                <option value="4">下线</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">处理人</label>
        <div class="layui-input-block">
            <input id="handlePersonName" name="handlePersonName" placeholder="请输入处理人" type="text" class="layui-input" disabled />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">处理备注</label>
        <div class="layui-input-block">
            <textarea id="content" name="content"  type="text" class="layui-textarea"></textarea>
        </div>
    </div>

    <div class="layui-col-lg12 layui-row" id="isRewardBox" style="display: none">

        <div class="layui-form-item layui-col-lg4">
            <label class="layui-form-label">获奖情况<span style="color: red;">*</span></label>
            <div class="layui-input-block">
                <select name="sort"  id="sort"
                        @if(!shiro.isAdmin()){
                        disabled
                        @}
                >
                    <option value="0">未获奖</option>
                    <option value="1">获奖</option>

                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">部门</label>
        <div class="layui-input-block">
            <input id="deptName" name="deptName" placeholder="请输入部门" type="text" class="layui-input" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新增时间</label>
        <div class="layui-input-block">
            <input id="createTime" name="createTime" placeholder="请输入新增时间" type="text" class="layui-input" disabled/>
        </div>
    </div>


    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}